page {
  width: 100%;
  padding-bottom: 120rpx;
  padding-top: 65px;
  background-color: #f7f7f7;
}

.search {
  //   width: 100%;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f7f7f7;

  .head {
    background: #fff;
    width: 100%;
    padding-top: 10rpx;

    .input {
      display: flex;
      align-items: center;
      height: 80rpx;
      // padding: 0 30rpx;
      margin: 0 auto;
      margin-bottom: 10rpx;
      margin-top: 8rpx;
      width: calc(100% - 60rpx);
      box-shadow: 0px 0px 4rpx 0px rgba(34, 34, 34, 0.14);
      border-radius: 40rpx;
      font-size: 29rpx;

      ::v-deep .u-search {
        padding: 0 30rpx;

        .u-search__content {
          padding: 0 !important;
        }
        ::v-deep .u-search__content__close {
          width: 30rpx;
          height: 30rpx;
          transform: scale(1) !important;
          -webkit-transform: scale(1) !important;
        }
        .u-icon__icon {
          // color: #888888 !important;
        }
        .u-search__action {
          font-size: 29rpx;
          font-weight: 500;
          color: var(--theme-color) !important;
          padding-left: 50rpx;
          position: relative;

          &::after {
            width: 1px;
            height: 35rpx;
            background: #dddddd;
            content: "";
            position: absolute;
            left: 24rpx;
            top: 50%;
            transform: translateY(-50%);
          }
        }
      }
    }
  }

  .shop-list {
    flex: 1;
    overflow-y: scroll;
    position: relative;
    width: calc(100% - 40rpx);
    margin: 0 auto;
    // background-color: #fff;

    .shop-content {
      display: flex;
      padding: 23rpx 23rpx 26rpx 23rpx;
      margin: 0 auto 22rpx auto;
      background-color: #fff;
      border-radius: 18rpx;

      .img {
        width: 170rpx;
        height: 170rpx;
        margin-right: 20rpx;
      }

      .msg {
        flex: 1;
        width: 0;
        display: flex;
        flex-direction: column;

        // justify-content: space-between;
        .title {
          font-size: 32rpx;
          font-weight: bold;
          color: #181818;
          margin-bottom: 20rpx;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        .detail {
          display: flex;
          align-items: center;
          font-size: 27rpx;
          font-weight: 500;
          color: #888888;
          justify-content: space-between;

          .left {
            display: flex;
            align-items: center;

            .falg {
              width: 80rpx;
              height: 32rpx;
              text-align: center;
              line-height: 30rpx;
              background: #f7f7f7;
              border: 1rpx solid #999999;
              font-size: 22rpx;
              font-weight: 500;
              border-radius: 15rpx;
              margin-right: 10rpx;
              border-radius: 5rpx;
            }

            .open {
              background: #e2f8f0;
              border: 1rpx solid #0cd38a;
              color: #0cd38b !important;
            }
            .type {
              padding-right: 15rpx;
              margin-right: 15rpx;
              position: relative;

              &::after {
                content: "";
                width: 1px;
                height: 27rpx;
                background-color: #ddd;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
              }
            }
          }
        }

        .store-val {
          font-size: 29rpx;
          font-weight: 500;
          // color: #fff;
          margin-top: auto;
          .balanceActivityDesc {
            background: #fff5f0;
            border: 1px solid var(--theme-color) !important;
            border-radius: 10rpx;
            color: var(--theme-color);
            font-size: 22rpx;
            padding: 6rpx 11rpx;
          }
        }
      }
    }
  }

  .histoy {
    margin-top: 15rpx;
    padding: 0 30rpx;
    border-top: 1px solid #ececec;
    height: 100%;
    background-color: #fff;
    .top {
      display: flex;
      justify-content: space-between;
      margin-top: 35rpx;
      align-items: center;
      margin-bottom: 30rpx;
    }

    .list {
      display: flex;
      flex-wrap: wrap;

      .one {
        height: 52rpx;
        background: #f5f5f5;
        border-radius: 26rpx;
        padding: 0 20rpx;
        line-height: 52rpx;
        font-size: 28rpx;
        font-weight: 500;
        color: #888888;
        margin-right: 20rpx;
        margin-bottom: 20rpx;
      }
    }
  }
}
